package request.user;

import enums.RequestType;
import request.Request;

public class PasswordChangeRequest extends Request {
    private String username;
    private String oldPassword;
    private String newPassword;

    public PasswordChangeRequest(String username, String oldPassword, String newPassword) {
        super(RequestType.PasswordChange);
        this.username = username;
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
    }

    public String getUsername() {
        return username;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }
}
